﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace G.WeiBo.WebAPI
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class JsonSerializerPathAttribute : Attribute
    {
        public string PropertyName { get; set; }
        public Type PropertyType { get; set; }

        public JsonSerializerPathAttribute(Type propertyType,string propertyName)
        {
            this.PropertyType = propertyType;
            this.PropertyName = propertyName;
        }
    }
}
